#pragma once
#include "TCharSupport.h"
#include "EpilToken.h"


class EpilLiteralExpressionCode
{
public:
	enum Type
	{
		Integer,
		String,
		Float,
		Identifier
	};

	EpilLiteralExpressionCode( const EpilToken & token );
	~EpilLiteralExpressionCode();

	Type								GetType() const									{ return m_type; }

	operator int() const;
	operator float() const;
	operator tstring() const;

private:
	Type								m_type;

	int									m_intData;
	float								m_floatData;
	tstring								m_stringData;
};
